﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PraxisRent.Entities;
using PraxisRent.Repository;
using Microsoft.Practices.Unity;

namespace PraxisRent.BL
{
    public class FotoPersonaBL:IFotoPersonaBL
    {
        [Dependency]
        public IFotoPersonaRepository fotoPersonaBL { get; set; }

        public List<FOTO_PERSONA> GetAllFromFotoPersona()
        {
            return fotoPersonaBL.GetAllFromFotoPersona();
        }

        public FOTO_PERSONA GetFromFotoPersonaByPersonaId(int id)
        {
            return fotoPersonaBL.GetFromFotoPersonaByPersonaId(id);
        }
    }
}
